﻿
                
  
                                Vehicle Functions

                                    By WTLS




ABOUT THIS TXT:

Content:
- Description,
- Requirements,
- Known issues and their solutions,
- Installation,
- How to use,
- Changelog,
- Credits,
- Notes.





DESCRIPTION:

This mod implements these car functions:
- Cruise Control: a feature in modern cars that allows you to fix the speed of the car and release the trottle to rest your leg while driving in the highway, the car stays in the same speed. In the game you rest your finger or you can use your right hand to drink water for example.
- Seatbelt: prevent the player character from being throwed out the windshield in case of an accident.
- Lock/Unlock: prevent NPCs from hijacking your car while you are inside it.
Features:
- Cruise Control,
- Cruise control turns off when you press brake or trottle or when the vehicle hit something or leave the ground,
- Seatbelt,
- Lock/Unlock,
- Indicators (Blinkers),
- HUD display,
- Simple control of the indicators,
- Controller support.





REQUIREMENTS:

The 2 Scriphooks.





KNOWN ISSUES AND SOLUTIONS:

- you can't use Los Santos Customs if the vehicle is locked. It tells you "This vehicle can not be modified".
> Unlock the vehicle before going to LS Customs.






INSTALLATION:

Put "VehicleFunctions.dll" and "VehicleFunctions.ini" files in "scripts" folder.
Important!: put "VehicleFunctions" folder in "scripts" folder.





HOW TO USE:

When you are in the vehicle the HUD displays automatically.
Hold "next weapon" key or button X on the controller for 1 sec for the hint to be displayed. The hint shows you what key to press for each function.
To use cruise control go with the speed you want then turn it on, then release the trottle (RT button on the controller). To turn it off simply hit the brake or the trottle.
To use indicators hold X (not necessary for 1 sec) and move left to turn on left indicator, or right to turn on right indicator, then release X. While not holding X button move to the opposite direction to turn off the indicator.
Settings:
DISPLAYX the position x of the HUD, increase to move it to the right,
DISPLAYXLEFTINDICATOR the position x of the left indicator HUD,
DISPLAYY the position y of the HUD, increase to move it to the down,
DISPLAYSIZE the size of the HUD,
AUTOSEATBELT auto seatbelt,
AUTOLOCK auto lock,
ENABLECUSTOMKEY enables the usage of a custom key to hold,
CUSTOMKEY the key to hold.




CHANGELOG:

1.1:
- Added custom key setting,
- Fixed seatbelt not always works.

1.0.1:
- Fixed seatbelt not working.

1.0:
- first release.





CREDITS:

WTLS
Alexander Blade
Crosire




NOTES!:

Do not reupload and steal our work!

Enjoy!

                                        WTLS 